<?php

class jwGalleryComponents extends sfActions
{
    
    public function executeGetGallery()
    {
        $c = new Criteria();
        $c->add( jwGalleryPeer::ID, $this->gallery_id );
        $c->addAscendingOrderByColumn( jwGalleryPicturePeer::ORDER );
        $this->pictures = jwGalleryPicturePeer::doSelectJoinjwGallery( $c );
    }
    
}

?>